unit searchfiles;

{$mode objfpc}{$H+}

interface

uses
  Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls,
  EditBtn;

type

  { TSearchFilesForm }

  TSearchFilesForm = class(TForm)
    Button1: TButton;
    Button2: TButton;
    DirectoryEdit1: TDirectoryEdit;
    FilemaskEdit: TEdit;
    FindBox: TComboBox;
    Label1: TLabel;
    Label2: TLabel;
    Label3: TLabel;
    ReplaceBox: TComboBox;
    ReplaceCheck: TCheckBox;
    procedure ReplaceCheckChange(Sender: TObject);
  private
    { private declarations }
  public
    { public declarations }
  end;

var
  SearchFilesForm: TSearchFilesForm;

implementation

{$R *.lfm}

{ TSearchFilesForm }

procedure TSearchFilesForm.ReplaceCheckChange(Sender: TObject);
begin
  ReplaceBox.Enabled := ReplaceCheck.Checked;
end;

end.

